package com.twentyfour.dao;

import com.twentyfour.pojo.GameInformation;
import com.twentyfour.pojo.Referee;
import com.twentyfour.pojo.RefereeScore;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RefereeMapper {
    List<RefereeScore> queryAllItemsByRefereeId(@Param("refereeId") Integer refereeId);

    int updateRefereeScore(RefereeScore refereeScore);

    int queryAllUncheckRefereeScoreByRefereeId(@Param("refereeId") Integer refereeId);

    List<RefereeScore> queryUncheckRefereeScoreByRefereeId(@Param("refereeId") Integer refereeId);

    //List<GameInformation> queryAllGameByRefereeId(@Param("refereeId") Integer refereeId);
}
